package com.cs.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 中标结果通知对象 cs_winning_results
 * 
 * @author ruoyi
 * @date 2024-12-10
 */
public class CsWinningResults extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 公示ID */
    private Long gsId;

    /** 招标项目ID */
    @Excel(name = "招标项目ID")
    private String iNumber;

    /** 供应商ID */
    @Excel(name = "供应商ID")
    private Long hid;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    private String hName;

    /** 公示状态 */
    @Excel(name = "公示状态")
    private Long gsState;

    /** 公示发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "公示发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date gsResDate;

    /** 内容 */
    @Excel(name = "内容")
    private String resultDesc;

    /** 标题 */
    @Excel(name = "标题")
    private String resultTitle;

    public CsWinningResults() {
    }

    public CsWinningResults(Long gsId, String iNumber, Long hid, String hName, Long gsState, Date gsResDate, String resultDesc, String resultTitle) {
        this.gsId = gsId;
        this.iNumber = iNumber;
        this.hid = hid;
        this.hName = hName;
        this.gsState = gsState;
        this.gsResDate = gsResDate;
        this.resultDesc = resultDesc;
        this.resultTitle = resultTitle;
    }

    public void setGsId(Long gsId)
    {
        this.gsId = gsId;
    }

    public Long getGsId() 
    {
        return gsId;
    }

    public String getiNumber() {
        return iNumber;
    }

    public void setiNumber(String iNumber) {
        this.iNumber = iNumber;
    }

    public void setHid(Long hid)
    {
        this.hid = hid;
    }

    public Long getHid() 
    {
        return hid;
    }
    public void sethName(String hName) 
    {
        this.hName = hName;
    }

    public String gethName() 
    {
        return hName;
    }
    public void setGsState(Long gsState) 
    {
        this.gsState = gsState;
    }

    public Long getGsState() 
    {
        return gsState;
    }
    public void setGsResDate(Date gsResDate) 
    {
        this.gsResDate = gsResDate;
    }

    public Date getGsResDate() 
    {
        return gsResDate;
    }
    public void setResultDesc(String resultDesc) 
    {
        this.resultDesc = resultDesc;
    }

    public String getResultDesc() 
    {
        return resultDesc;
    }
    public void setResultTitle(String resultTitle) 
    {
        this.resultTitle = resultTitle;
    }

    public String getResultTitle() 
    {
        return resultTitle;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("gsId", getGsId())
            .append("iNumber", getiNumber())
            .append("hid", getHid())
            .append("hName", gethName())
            .append("gsState", getGsState())
            .append("gsResDate", getGsResDate())
            .append("resultDesc", getResultDesc())
            .append("resultTitle", getResultTitle())
            .toString();
    }
}